define([],function(){
       
       var nativeUI = {
       "description": "访问推送插件",
       
       alert:function (successCB,message,title, buttonCapture){
       cordova.exec(successCB,function(){console.log('createMessage 失败');},"NativeUI","alert",[message,title,buttonCapture]);
       },
       
       confirm:function (successCB,message,title,buttonCaptures)
       {
       cordova.exec(successCB,function(){console.log('createMessage 失败');},"NativeUI","confirm",[message,title,buttonCaptures]);
       },
       
       showWaiting:function (waitingOptions)
       {
       cordova.exec(function(){console.log('showWaiting 成功');},function(){console.log('showWaiting 失败');},"NativeUI","showWaiting",[waitingOptions]);
       },
       
       actionSheet:function(actionsheetCallback,title,buttons)
       {
       cordova.exec(actionsheetCallback,function(){console.log('showWaiting 失败');},"NativeUI","actionSheet",[title,buttons]);
       },
       
       pickDate:function(successCB,errorCB)
       {
       cordova.exec(successCB,errorCB,"NativeUI","pickDate");

       },
       
       pickTime:function(successCB,errorCB)
       {
       cordova.exec(successCB,errorCB,"NativeUI","pickTime");

       },
       
       prompt:function(successCB,message,title,tip,buttons)
       {
       cordova.exec(successCB,function(){console.log('showWaiting 失败');},"NativeUI","prompt",[title,message,tip,buttons]);

       }
       
       };
       
       return nativeUI;
       
       });
